<?php
/**
 * Created by PhpStorm.
 * User: LiuJiaJun
 * Date: 2018/11/18
 * Time: 20:54
 */
namespace service\file;

interface Lock
{

    /**
     * 对文件加锁
     *
     * @return mixed
     */
    public function lock();

    /**
     * 对文件解锁
     *
     * @return mixed
     */
    public function unlock();
}